home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Taifun
/
Taifun 143 (1990-08-15)(Ossowski, Stefan)(DE)(PD).zip
/
Taifun 143 (1990-08-15)(Ossowski, Stefan)(DE)(PD).adf
/
SASTools
/
M2ouse
/
M2ouse.doc
< prev
next >
Wrap
Text File
|
1990-05-16
|
4KB
|
101 lines
********** ******* **********
** ** ** ** > Jörg Sixt <
** ** ** ** > Tulpenstr. 2 <
********** ************* ********** > 8424 Saal/Donau <
** ** ** ** > FRG <
** ** ** **
********** ** ** **********
S I C K A M I G A S O F T
OFFICIAL DOCUMENTATION
Name : M2ouse.mod
Usage : M2ouse >file
Version : V1.10
Date : 15.05.1989
Author : Jörg Sixt
Purpose : catches the mouse-pointer, converts it to an INLINE-
procedure and writes it to "file"
Language : Modula-2,AMSoft PD-Version from Fish 113
Bugs : can't handle file-input via argument
I. DISTRIBUTION AND OTHER JURIDICAL KNICK-KNACKS
================================================
This software may not be used as a part of commercial products without
the permission of the author (hey,that's me!!). This material may be
copied (don't forget the documentation) and used by every-one.
This here is freeware: You needn't send me money (but you may If you've
got too much of these neaty papers) but you MUST leave my name in the
programme, except if you produce a better version (but at least mention
me somewhere in the documentation then).
II. FUNCTION
============
(see purpose, there is really nothing more to say)
III. POINTERS IN YOUR PROGRAMME
===============================
1. Edit the mouse pointer with the preferences
2. Use M2ouse
3. Insert the "file" in the main-source
4. Now you have to modify your programme:
CONST Spotx = ??? ; (* hotspot coordinates *)
Spoty = ??? ;
VAR MyWindow : WindowPtr ; (* Pointer to the window *)
MouImage : ADDRESS ; (* Pointer to the memory block *)
BEGIN
: :
: :
: :
(* INLINE-code must be in chip-ram - to be compatible
with fast-ram copy INLINE code to chip-ram *)
MouImage := AllocMem(72,MemReqSet{memClear,public,chip}) ;
IF (MouImage = NIL) THEN HALT ; END ;
CopyMem(ADR(SpriteData),MemPtr,72) ;
(* Now this intuition-function installs the pointer *)
SetPointer(MyWindow,MouImage,16,16,Spotx,Spoty) ;
: :
: :
: :
(* You want the old one back ?? *)
ClearPointer(MyWindow) ;
: :
: :
: :
(* Must be at the end *)
FreeMem(MouImage,72) ;
5. It's also possible to use the INLINE-code for other hardware-sprites
(see UFO, if it's included on this disk)
IV. THE FAMEST LAST WORDS
=========================
Greetings to Charlie Gibbs,Brian R. Anderson,Software-Distellery,all
people who hate me and of course to Fredl Fisch(=Bavarian
translation of Fred Fish - is only valid if he puts these
programmes into his library),Mike Mehrl
If you want to send me something neaty.... I need:
money,more money, last version of a68k and blink,much more money,
records,CDs,disks,lots and lots of money and a sun workstation
Bugs,remarks,payements,bribery,improvements,better version to:
Jörg Sixt
sick amiga software
Tulpenstr.2
8424 Saal/Donau
FRG
PS: Sory for my bed englisch !!